package com.example.treeHole.dao;

import com.example.treeHole.vo.ArticleMain;
import com.example.treeHole.vo.dto.ArticleMainDto;

import java.util.List;

public interface ArticleMainMapper {
    int deleteByPrimaryKey(String articleId);

    int insert(ArticleMain record);

    int insertSelective(ArticleMain record);

    ArticleMain selectByPrimaryKey(String articleId);

    int updateByPrimaryKeySelective(ArticleMain record);

    int updateByPrimaryKeyWithBLOBs(ArticleMain record);

    int updateByPrimaryKey(ArticleMain record);


    List<ArticleMain> findPage(ArticleMainDto articleMainDto);

    ArticleMain selectAMById(String articleId);

    List<ArticleMain> findNoti();

}

